package com.jumi.microservice.enumerate;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author wangjingdao
 */

public enum SupplierTypeEnum implements AbstractEnum<Integer> {
    /**
     * 供应商还是发货仓
     */
    SUPPLIER(1,"供应商"),
    DELIVERY_WAREHOUSE(2,"发货仓");
    ;

    private Integer code;
    private String msg;

    SupplierTypeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }
}
